<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
        <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<style>
    table{
    width: 1000px;
    border-collapse: collapse;
}
table caption{
    font-size: 2em;
    font-weight: bold;
    margin: 1em 0;
    text-align: center;
}
th,td{
    border: 1px solid #999;
    text-align: center;
    padding: 10px 0;
}

table thead tr{
    background-color: #008c8c;
    color: #fff;
}

table tbody tr:nth-child(odd){
    background-color: #eee;
}

table tbody tr:hover{
    background-color: #ccc;
}

table tbody tr td:first-child{
    color: #f40;
}

table tfoot tr td{
    text-align: right;
    padding-right: 20px;
}
*{
    padding: 0;
    margin: 0;
}
.title{
    text-align: center;
}
#div-bar{
    position:absolute;
    margin-top: 45px;
}
#bar li{
    width: 105px;
    height: 40px;
    margin-top: 25px;
    line-height: 40px;
    text-align: center;
    list-style: none;
}
#bar li:hover{
    background-color: rgb(93, 213, 200);
}
#bar li a{
    color: black;
    text-decoration: none;
}
#father{
    width: 1250px;
    height: 100%;
    position: absolute;
    margin-left: 105px;
    border: 1px ;
    border-left:2px solid rgb(241, 241, 241);
}
#son{
    background-color: rgb(251, 251, 251);
    height: 200%;
}
#son form{
    padding-top: 10px;
    padding-left: 20px;
    float:left;
}
#anniu{
    background-color:  rgb(93, 213, 200);
    height: 30px;
    width: 50px;
    border-radius: 5px;
}
#son form input{
    height: 30px;
    border-radius: 5px;
}
#son form select{
    border-radius: 5px;
    height: 20px;
    margin-left: 5px;
}
#zi {
    position: absolute;
    margin-left: 120px;
    margin-top: 80px;
}
</style>
<body>
<div id="div-bar">
<ul id="bar">
    <li><a href="http://127.0.0.1:8000/index1/shop">商品管理</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/stock">库存管理</a></li>
    <li><a href="http://127.0.0.1:8000/index1/sales">销售数据</a></li>
    <li><a href="http://127.0.0.1:8000/index1/color">颜色数据</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/size">尺码数据</a></li>
    <li><a href="http://127.0.0.1:8000/index1/new_shop">新品追踪</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/yonghu">用户管理</a></li>
</ul>
</div>
<div id="father">
    <div style="border-bottom:2px solid rgb(241, 241, 241);height: 50px">
    <h1 class="title">销量分析</h1>
    </div>
</div>
<div id="zi">
          <table>

    <thead>
      <tr>
        <th>序号</th>
        <th>部门</th>
        <th>姓名</th>
        <th>手机号</th>
      </tr>
    </thead>
    <tbody>
    {% for i in yonghu_list%}
<tr>
  <th>{{i.id}}</th>
  <th>{{i.department}}</th>
  <th>{{i.the_name}}</th>
  <th>{{i.mobile}}</th>
</tr>
    {% endfor %}
    </tbody>
    <tfoot>
      <tr>
        <td colspan="4">用户信息</td>
      </tr>
    </tfoot>
  </table>
</div>
</body>
</html>